<!DOCTYPE html>
<html lang="zh-CN" ng-app="deviceApp">
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="format-detection" content="telephone=no" />
    <meta name="msapplication-tap-highlight" content="no" />
    <meta http-equiv="Cache-Control" content="no-cache"/>
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Cache-Control" content="max-age=0"/>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />

    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css"/>
    <script src="js/jquery-3.1.0.min.js"></script>
    <script type="application/javascript" src="../js/angular.js"></script>
    <script src="../js/angular.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>
    <script src="js/deviceDetail.js"></script>
</head>

<body   style="height:100%;margin:0;background:#DCDCDC;" ng-controller="deviceController">
<div style="background:#FFFFFF;">
    <div  >
        <img src="image/logo.png"/><span style="font-size:35px;color:#87CEFA;margin-left:10px;">iLabService</span>
    </div>
    <div style="text-align:right;margin-top:5px;margin-right:10px;background:#FFFFFF;">
        <h4>InterLab实验室物联网云监控</h4>
    </div>
</div>


<div>
    <div style="margin-top:20px;text-align:center;">
        <p><h3>{{device.name}}</h3></p>
    </div>
    <div    style="margin-top:20px;">
        <div class="row"  >
            <span class="col-xs-6" style="padding-left:20px;">设备编号：{{device.code}}</span>
            <span class="col-xs-6" >管理人员：{{device.manager.userName}}</span>
        </div>
        <div class="row" >
            <span class="col-xs-6" style="padding-left:20px;">设备品牌：{{device.model}}</span>
            <span class="col-xs-6" >联系方式：{{device.manager.mobile}}</span>
        </div>
        <div class="row" >
            <span class="col-xs-6" style="padding-left:20px;">设备厂商：{{device.creator}}</span>
            <span class="col-xs-6" >管理职位：{{device.manager.job}}</span>
        </div>
    </div>

    <div >

        <div style="margin-top:20px;">
            <ul class="list-group" ng-repeat="inspect in inspectData.list" >
                <li class="list-group-item" style="padding-left:20px;" >{{inspect[0].deviceInspect.name}}：{{inspect[0].result}}</li>
            </ul>
        </div>

    </div>

</div>


</body>
</html>